package com.loubobooo.personal.blog.service;

import com.loubobooo.personal.blog.entity.Notice;
import com.loubobooo.personal.blog.entity.vo.NoticeVO;

import java.util.List;

public interface NoticeService {

    //获得公告列表
    public List<NoticeVO> listNotice(Integer status);

    //添加公告
    public void insertNotice(Notice notice);

    //删除公告
    public void deleteNotice(Integer id);

    //更新公告
    public void updateNotice(Notice notice);

    //根据id查询公告
    public NoticeVO getNoticeById(Integer id);

}
